package com.mzy.javaapi.enums;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author mzy
 * @Date 2022/6/16 9:29
 * @Version 1.0
 */
public enum ConfigEnum {
    V1("v1.0","handler001",1),
    V2("v2.0","handler002",2),
    ;

    private String number;
    private String handler;
    private int order;

    ConfigEnum(String number, String handler, int order) {
        this.number = number;
        this.handler = handler;
        this.order = order;
    }

    public String getNumber() {
        return number;
    }

    public String getHandler() {
        return handler;
    }

    public int getOrder() {
        return order;
    }

    @Override
    public String toString() {
        return "ConfigEnum{" +
                "number='" + number + '\'' +
                ", handler='" + handler + '\'' +
                ", order=" + order +
                '}';
    }
}
